package com.fengxing.ams.web.action.view;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotBlank;


public class RegUserVO {

	@NotBlank(message = "{password.not.blank}")
	private String password;
	@Pattern(regexp="\\d{6}", message = "{code.not.blank}")
	private String code;
	private String email;
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Override
	public String toString() {
		return "RegUserVO [password=" + password + ", code=" + code
				+ ", email=" + email + "]";
	}
	
}
